package com.idlecode.bean;

public class DataSourceEntity {
	/**
	 * 数据库类型
	 */
	private String dbType;
	/**
	 * 连接名
	 */
	private String connName;
	/**
	 * URL
	 */
	private String connUrl;
	/**
	 * 用户名
	 */
	private String username;
	/**
	 * 密码
	 */
	private String password;

	public DataSourceEntity() {
	}

	public DataSourceEntity(String dbType, String connName, String connUrl, String username, String password) {
		this.dbType = dbType;
		this.connName = connName;
		this.connUrl = connUrl;
		this.username = username;
		this.password = password;
	}

	public String getDbType() {
		return dbType;
	}

	public void setDbType(String dbType) {
		this.dbType = dbType;
	}

	public String getConnName() {
		return connName;
	}

	public void setConnName(String connName) {
		this.connName = connName;
	}

	public String getConnUrl() {
		return connUrl;
	}

	public void setConnUrl(String connUrl) {
		this.connUrl = connUrl;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "DataSourceEntity{" + "dbType='" + dbType + '\'' + ", connName='" + connName + '\'' + ", connUrl='"
				+ connUrl + '\'' + ", username='" + username + '\'' + ", password='" + password + '\'' + '}';
	}
}